package com.subtlman.logframework.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.subtlman.logframework.entity.LogTbl;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

/**
 * 操作日志
 */
@Mapper
public interface LogMapper extends BaseMapper<LogTbl> {

    /**
     * 测试--新增数据
     *
     * @param tbl 实例对象
     * @return 影响行数
     */
    int insertLogs(@Param("tbl") LogTbl tbl);

}